# -*- coding:utf-8 -*-

# from common.import_pyside import *
# from common.updateDB import UpdateDB
# from record.components.popup import PopupWindow
# from record.components.record_step import RecordStepWindow
# from record.get_from_mouse_keybord.index import Cord
# from utils.create_dir import create_case_dir
# from utils.sendMsg import sendWinMsg
#
#
# class CusSignal(QWidget):
#     start_record_action = Signal()
#
#     def __init__(self, parent=None):
#         super(CusSignal, self).__init__(parent=parent)
#
#         self.start_record_action.connect(self._start_record)
#
#     def _start_record(self):
#
#         # 创建case
#         create_case_dir()
#
#         sendWinMsg("露珠", "开始")
#
#         # 打开任务名称输入框
#         PopupWindow().exec_()
#         # 打开录制记录框
#         self.record_step_window = RecordStepWindow()
#         self.record_step_window.show()
#         # 准备录制数据
#         UpdateDB.start_record()
#
#         # 调用录制事件
#         Cord.start_record()
